package com.ssm.rice4.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ssm.rice4.service.CommonService;

@Controller
@RequestMapping(value = "common")
public class CommonController {

	@Autowired
	private CommonService commonService;

	@RequestMapping("login")
	public String login() {
		System.out.println("目前已到controller层");
		commonService.login("xifan");
		return null;
	}
}
